let BASE_URL = ''
const TIME_OUT = 10000

if (process.env.NODE_ENV === 'development') {
  // BASE_URL = 'http://175.178.206.228/api/'
  BASE_URL = 'http://120.78.160.132/api/'
} else if (process.env.NODE_ENV === 'production') {
  BASE_URL = 'http://120.78.160.132/api/'
}

const AXIOS_BASE_CONFIG = {
  baseURL: BASE_URL,
  timeOut: TIME_OUT,
  heard: {
    'Content-Type': 'application/json; charset=utf-8',
  },
}

export { BASE_URL, AXIOS_BASE_CONFIG }
